package cn.ilovese.collect.datamapper.transaction;

import cn.ilovese.collect.po.transaction.Transaction;

import java.util.List;

public interface TransactionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Transaction record);

    int insertSelective(Transaction record);

    Transaction selectByPrimaryKey(Integer id);

    List<Transaction> selectByUser(Integer userId);

    int updateByPrimaryKeySelective(Transaction record);

    int updateByPrimaryKey(Transaction record);
}